﻿@model bdxyit.com.RecruitmentAppSys.ViewModels.EducationInfoViewModels

@{
    ViewBag.Title = "教育信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/DatePicker/WdatePicker.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
 <div id="NavMessage">
        <ul>
            <li>@Html.ActionLink("个人信息", "Index", "EducationInfo")</li>
            <li >@Html.ActionLink("教育信息", "Index", "EducationInfo", new { @style = "color: Red;" })</li>
            <li>@Html.ActionLink("工作履历", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("应聘岗位", "Index", "EducationInfo")</li>
            <li>@Html.ActionLink("上传照片", "Index", "EducationInfo")</li>
        </ul>
    </div>    
 <div id="BasicMessage">
        <fieldset>
            <legend>教育信息 </legend>
            @Html.HiddenFor(f=>f.UserEducation.UserID)
            <h4>就业学历</h4>
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            开始日期：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.TextBoxFor(b => b.UserEducation.StartTime, new { @class = "Wdate", onfocus = "WdatePicker()" })
                            @Html.ValidationMessageFor(b => b.UserEducation.StartTime)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            结束日期：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.TextBoxFor(b => b.UserEducation.EndTime, new { @class = "Wdate", onfocus = "WdatePicker()" })
                            @Html.ValidationMessageFor(b => b.UserEducation.EndTime)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            教育类型：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.DropDownList("SysID", new SelectList(Model.SystemInfoEdu as System.Collections.IEnumerable, "SysID", "SysItem", Model.UserEducation.SysId))
                        </div>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <div class="editor-label">
                            院校名称：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("UniversityID", new SelectList(Model.UniversityList as System.Collections.IEnumerable, "UniversityID", "UniversityName",Model.UserEducation.UniversityID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            专业：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                          @Html.DropDownList("ProID", new SelectList(Model.ProfessionalList as System.Collections.IEnumerable, "ProID", "ProName",Model.UserEducation.PorID))
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            学历：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("DegreeID", new SelectList(Model.DegreeList as System.Collections.IEnumerable, "DegreeID", "DegreeName",Model.UserEducation.DegreeID))
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            毕业证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserEducation.DiplomaNum)
                            @Html.ValidationMessageFor(b => b.UserEducation.DiplomaNum)
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            学位:
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("EduID", new SelectList(Model.EducationList as System.Collections.IEnumerable, "EduID", "EduName",Model.UserEducation.EduID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            学位证书编号:
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserEducation.EduNum)
                            @Html.ValidationMessageFor(b => b.UserEducation.EduNum)
                        </div>
                    </td>
                </tr>
            </table>
            <h4>最高学历</h4>
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            开始日期：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.TextBoxFor(b => b.UserEducation2.StartTime, new { @class = "Wdate", onfocus = "WdatePicker()" })
                            @Html.ValidationMessageFor(b => b.UserEducation2.StartTime)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            结束日期：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.TextBoxFor(b => b.UserEducation2.EndTime, new { @class = "Wdate", onfocus = "WdatePicker()" })
                            @Html.ValidationMessageFor(b => b.UserEducation2.EndTime)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            教育类型：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("SysID", new SelectList(Model.SystemInfoEdu as System.Collections.IEnumerable, "SysID", "SysItem", Model.UserEducation2.SysId))
                        </div>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <div class="editor-label">
                            院校名称：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("UniversityID", new SelectList(Model.UniversityList as System.Collections.IEnumerable, "UniversityID", "UniversityName",Model.UserEducation2.UniversityID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            专业：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.DropDownList("ProID", new SelectList(Model.ProfessionalList as System.Collections.IEnumerable, "ProID", "ProName",Model.UserEducation2.PorID))
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            学历：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.DropDownList("DegreeID", new SelectList(Model.DegreeList as System.Collections.IEnumerable, "DegreeID", "DegreeName", Model.UserEducation2.DegreeID))
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            毕业证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.UserEducation2.DiplomaNum)
                            @Html.ValidationMessageFor(b => b.UserEducation2.DiplomaNum)
                        </div>
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="editor-label">
                            学位：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.DropDownList("EduID", new SelectList(Model.EducationList as System.Collections.IEnumerable, "EduID", "EduName",Model.UserEducation2.EduID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            学位证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                            @Html.EditorFor(b => b.UserEducation2.EduNum)
                            @Html.ValidationMessageFor(b => b.UserEducation2.EduNum)
                        </div>
                    </td>
                </tr>
            </table>
            <h4>外语能力</h4>
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            语种：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.DropDownList("SysID", new SelectList(Model.SystemInfoLanguage as System.Collections.IEnumerable, "SysID", "SysItem", Model.AbilityLevelLang1.SysID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            水平等级：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.DropDownList("LevelID", new SelectList(Model.LanguageLevel as System.Collections.IEnumerable, "LevelID", "LevelName",Model.AbilityLevelLang1.LevelID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.AbilityLevelLang1.CertificateNum)
                            @Html.ValidationMessageFor(b => b.AbilityLevelLang1.CertificateNum)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            语种：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.DropDownList("SysID", new SelectList(Model.SystemInfoLanguage as System.Collections.IEnumerable, "SysID", "SysItem", Model.AbilityLevelLang2.SysID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            水平等级：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.DropDownList("LevelID", new SelectList(Model.LanguageLevel as System.Collections.IEnumerable, "LevelID", "LevelName",Model.AbilityLevelLang2.LevelID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.AbilityLevelLang2.CertificateNum)
                            @Html.ValidationMessageFor(b => b.AbilityLevelLang2.CertificateNum)
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            语种：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.DropDownList("SysID", new SelectList(Model.SystemInfoLanguage as System.Collections.IEnumerable, "SysID", "SysItem", Model.AbilityLevelLang3.SysID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            水平等级：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                         @Html.DropDownList("LevelID", new SelectList(Model.LanguageLevel as System.Collections.IEnumerable, "LevelID", "LevelName",Model.AbilityLevelLang3.LevelID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.AbilityLevelLang3.CertificateNum)
                            @Html.ValidationMessageFor(b => b.AbilityLevelLang3.CertificateNum)
                        </div>
                    </td>
                </tr>
            </table>
           <h4>计算机能力</h4>
            <table>
                <tr>
                    <td>
                        <div class="editor-label">
                            证书类型：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                             @Html.DropDownList("SysID", new SelectList(Model.SystemInfoComputer as System.Collections.IEnumerable, "SysID", "SysItem",Model.AbilityLevelCom.SysID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            水平等级：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                          @Html.DropDownList("LevelID", new SelectList(Model.ComputerLevel as System.Collections.IEnumerable, "LevelID", "LevelName",Model.AbilityLevelCom.LevelID))
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="editor-label">
                            证书编号：
                        </div>
                    </td>
                    <td>
                        <div class="editor-field">
                           @Html.EditorFor(b => b.AbilityLevelCom.CertificateNum)
                            @Html.ValidationMessageFor(b => b.AbilityLevelCom.CertificateNum)
                        </div>
                    </td>
                </tr>
            </table>
            <p>
                <input type="submit" value="下一步" />
                @Html.ActionLink("上一步", "Edit", "BasicInfo", new { id = Model.UserEducation.UserID }, new { id = "Next" })
            </p>
        </fieldset>
    </div>
}

